import request from '@/utils/request'

// 查询人力资源-教育经历列表
export function listHrBaseEducation(query) {
  return request({
    url: '/education/hrBaseEducation/list',
    method: 'get',
    params: query
  })
}

// 查询人力资源-教育经历详细
export function getHrBaseEducation(id) {
  return request({
    url: '/education/hrBaseEducation/' + id,
    method: 'get'
  })
}

// 保存人力资源-教育经历
export function saveHrBaseEducation(data) {
  return request({
    url: '/education/hrBaseEducation/save',
    method: 'post',
    data: data
  })
}

// 删除人力资源-教育经历
export function delHrBaseEducation(id) {
  return request({
    url: '/education/hrBaseEducation/' + id,
    method: 'delete'
  })
}

// 导出人力资源-教育经历
export function exportHrBaseEducation(query) {
  return request({
    url: '/education/hrBaseEducation/export',
    method: 'get',
    params: query
  })
}
